package com.neusoft.demo7;

public class Penguin extends Pet{
    @Override
    public void toHospital() {
        this.setHealth(70);
        System.out.println("医疗，吃药......");
    }

    public void swimming() {
        System.out.println("游泳......");
    }
}
